package homework5.exp2;


import junit.framework.Assert;
import junit.framework.TestCase;

/**
 * @author fengq
 */
public class CalculateTest extends TestCase {
    private Calculate cal;

    @Override
    protected void setUp() throws Exception {
        cal = new Calculate();
    }

    @Override
    protected void tearDown() throws Exception {
        super.tearDown();
    }

    public void testAdd(){
        Assert.assertEquals(cal.add(1,2),3);
    }
}
